package com.test.ch01;

public class Dog extends Animal{
    private int foot;
    public void run(){
        System.out.println("run...");
    }
    public void eat(int n){
        System.out.println(n);
    }
    public Dog(int age,String name){
        super(age,name);

    }
    @Override
    public float a(){
        return 1.1f;
    }
}
